#include <bits/stdc++.h>

using namespace std;
using ll = long long;

void solve()
{
    int n, k, x;
    cin >> n >> k >> x;
    int t = (k + x - 1) / x;
    if (t == n)
        cout << x << ' ' << x + k - 1;
    else if (t == n + 1)
        cout << x + 1 << ' ' << x + k;
    else cout << -1;
}

signed main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int t = 1;
    //cin >> t;
    while (t--)
    {
        solve();
    }
    return 0;
}